package com.dirk.happie.utils;

import com.dirk.happie.R;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;

public class ApplicationReceiver extends BroadcastReceiver
{
  public void onReceive(Context paramContext, Intent paramIntent)
  {
    Bundle localBundle = paramIntent.getExtras();
    if (localBundle != null)
    {
      String str = localBundle.getString("referrer");
      SharedPreferences.Editor localEditor = paramContext.getSharedPreferences(paramContext.getString(R.string.pref_file_name), 0).edit();
      localEditor.putString(paramContext.getString(R.string.pref_company_id), str);
      localEditor.commit();
      Log.i("----------- HAPPIE-APP.COM", "------------> REFERRER = " + str);
    }
  }
}

/* Location:           /home/aram/Downloads/HappieApp.apk/classes_dex2jar.jar
 * Qualified Name:     com.happieapp.ApplicationReceiver
 * JD-Core Version:    0.6.2
 */